package com.xmut.mall.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ums_member_coupon_relation")
public class MemberCouponRelationEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ID_WORKER)
    private Long id;

    private Long memberId; // 会员id

    private Long couponId; // 优惠券id

    private Date receiveTime; // 优惠券领取时间

    private Integer usedFlag; // 是否已使用
}
